function initBarChaert3(title,data1,data2,dates,name1,ele){
        	var myChart = echarts.init(ele);
        	
        	var dataAxis = dates;
        	var data = data1;
        	var yMax = data1;
        	var dataShadow = [];

        	for (var i = 0; i < data.length; i++) {
        	    dataShadow.push(yMax[i]);
        	}

        	var option = {
        			legend: {
        		        right: 10,
        		        data: ["实习","正式"]
        		    },
        	   /* title: {
        	        text: '特性示例：渐变色 阴影 点击缩放',
        	        subtext: 'Feature Sample: Gradient Color, Shadow, Click Zoom'
        	    },*/
        			tooltip : {
        				trigger : 'item',
        				formatter : "{b} : {c}人"
        			},
        	    xAxis: {
        	        data: dates,
        	        axisLabel: {
        	            inside: false,
        	            textStyle: {
        	                color: 'black'
        	            }
        	        },
        	        axisTick: {
        	            show: false
        	        },
        	        axisLine: {
        	            show: false
        	        },
        	        z: 10
        	    },
        	    
        	  /*  yAxis : [
        			        {
        			            type : 'value',
        			            'name':name1,
        			            axisLabel :  {
        		    	                  formatter: '{value}%'
        		    	                },
        			            splitLine: {show: false}
        			        }
        			    ],*/
        	    
        	    yAxis: {
        	        axisLine: {
        	            show: true
        	        },
        	        axisTick: {
        	            show: true
        	        },
        	        axisLabel: {
        	        	formatter: '{value}人',
        	            textStyle: {
        	                color: '#999'
        	            }
        	        }
        	    },
        	    dataZoom: [
        	        {
        	            type: 'inside'
        	        }
        	    ],
        	    series: [
        	        { // For shadow
        	        	
        	            type: 'bar',
        	            itemStyle: {
        	                normal: {color: 'rgba(0,0,0,0.05)'}
        	            },
        	            barGap:'-100%',
        	            barCategoryGap:'40%',
        	            data: dataShadow,
        	            animation: false
        	        },
        	        {
        	        	name:'实习',
        	            type: 'bar',
        	            stack:"入职类型",
        	            itemStyle: {
        	                normal: {
        	                    color: new echarts.graphic.LinearGradient(
        	                        0, 0, 0, 1,
        	                        [
        	                            {offset: 0, color: '#83bff6'},
        	                            {offset: 0.5, color: '#188df0'},
        	                            {offset: 1, color: '#188df0'}
        	                        ]
        	                    )
        	                },
        	                emphasis: {
        	                    color: new echarts.graphic.LinearGradient(
        	                        0, 0, 0, 1,
        	                        [
        	                            {offset: 0, color: '#2378f7'},
        	                            {offset: 0.7, color: '#2378f7'},
        	                            {offset: 1, color: '#83bff6'}
        	                        ]
        	                    )
        	                }
        	            },
        	            data: data1
        	        },
        	        {	
        	        	name:'正式',
        	            type: 'bar',
        	            stack:"入职类型",
        	            itemStyle: {
        	                normal: {
        	                    color: new echarts.graphic.LinearGradient(
        	                        0, 0, 0, 1,
        	                        [
        	                            {offset: 0, color: '#ff9999'},
        	                            {offset: 0.5, color: '#ff0000'},
        	                            {offset: 1, color: '#ff0000'}
        	                        ]
        	                    )
        	                },
        	                emphasis: {
        	                    color: new echarts.graphic.LinearGradient(
        	                        0, 0, 0, 1,
        	                        [
        	                            {offset: 0, color: '#ff0000'},
        	                            {offset: 0.7, color: '#ff0000'},
        	                            {offset: 1, color: '#ff9999'}
        	                        ]
        	                    )
        	                }
        	            },
        	            data: data2
        	        }
        	    ]
        	};

        	// Enable data zoom when user click bar.#ff0000
        	var zoomSize = 6;
        	myChart.on('click', function (params) {
        	    console.log(dataAxis[Math.max(params.dataIndex - zoomSize / 2, 0)]);
        	    myChart.dispatchAction({
        	        type: 'dataZoom',
        	        startValue: dataAxis[Math.max(params.dataIndex - zoomSize / 2, 0)],
        	        endValue: dataAxis[Math.min(params.dataIndex + zoomSize / 2, data.length - 1)]
        	    });
        	});
        	
        	
        	
        	myChart.setOption(option); 
        	
        }
